﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020006FF RID: 1791
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetFriendRecommendListInfoScRsp : IMessage<GetFriendRecommendListInfoScRsp>, IMessage, IEquatable<GetFriendRecommendListInfoScRsp>, IDeepCloneable<GetFriendRecommendListInfoScRsp>, IBufferMessage
	{
		// Token: 0x170016FC RID: 5884
		// (get) Token: 0x060050A3 RID: 20643 RVA: 0x000DB61B File Offset: 0x000D981B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetFriendRecommendListInfoScRsp> Parser
		{
			get
			{
				return GetFriendRecommendListInfoScRsp._parser;
			}
		}

		// Token: 0x170016FD RID: 5885
		// (get) Token: 0x060050A4 RID: 20644 RVA: 0x000DB622 File Offset: 0x000D9822
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetFriendRecommendListInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170016FE RID: 5886
		// (get) Token: 0x060050A5 RID: 20645 RVA: 0x000DB634 File Offset: 0x000D9834
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetFriendRecommendListInfoScRsp.Descriptor;
			}
		}

		// Token: 0x060050A6 RID: 20646 RVA: 0x000DB63B File Offset: 0x000D983B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFriendRecommendListInfoScRsp()
		{
		}

		// Token: 0x060050A7 RID: 20647 RVA: 0x000DB64E File Offset: 0x000D984E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFriendRecommendListInfoScRsp(GetFriendRecommendListInfoScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.playerInfoList_ = other.playerInfoList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060050A8 RID: 20648 RVA: 0x000DB684 File Offset: 0x000D9884
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetFriendRecommendListInfoScRsp Clone()
		{
			return new GetFriendRecommendListInfoScRsp(this);
		}

		// Token: 0x170016FF RID: 5887
		// (get) Token: 0x060050A9 RID: 20649 RVA: 0x000DB68C File Offset: 0x000D988C
		// (set) Token: 0x060050AA RID: 20650 RVA: 0x000DB694 File Offset: 0x000D9894
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001700 RID: 5888
		// (get) Token: 0x060050AB RID: 20651 RVA: 0x000DB69D File Offset: 0x000D989D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<FriendRecommendInfo> PlayerInfoList
		{
			get
			{
				return this.playerInfoList_;
			}
		}

		// Token: 0x060050AC RID: 20652 RVA: 0x000DB6A5 File Offset: 0x000D98A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetFriendRecommendListInfoScRsp);
		}

		// Token: 0x060050AD RID: 20653 RVA: 0x000DB6B4 File Offset: 0x000D98B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetFriendRecommendListInfoScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.playerInfoList_.Equals(other.playerInfoList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060050AE RID: 20654 RVA: 0x000DB704 File Offset: 0x000D9904
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.playerInfoList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060050AF RID: 20655 RVA: 0x000DB751 File Offset: 0x000D9951
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060050B0 RID: 20656 RVA: 0x000DB759 File Offset: 0x000D9959
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060050B1 RID: 20657 RVA: 0x000DB764 File Offset: 0x000D9964
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.Retcode);
			}
			this.playerInfoList_.WriteTo(ref output, GetFriendRecommendListInfoScRsp._repeated_playerInfoList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060050B2 RID: 20658 RVA: 0x000DB7B4 File Offset: 0x000D99B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.playerInfoList_.CalculateSize(GetFriendRecommendListInfoScRsp._repeated_playerInfoList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060050B3 RID: 20659 RVA: 0x000DB808 File Offset: 0x000D9A08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetFriendRecommendListInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.playerInfoList_.Add(other.playerInfoList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060050B4 RID: 20660 RVA: 0x000DB855 File Offset: 0x000D9A55
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060050B5 RID: 20661 RVA: 0x000DB860 File Offset: 0x000D9A60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					if (num != 58U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.playerInfoList_.AddEntriesFrom(ref input, GetFriendRecommendListInfoScRsp._repeated_playerInfoList_codec);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001FAF RID: 8111
		private static readonly MessageParser<GetFriendRecommendListInfoScRsp> _parser = new MessageParser<GetFriendRecommendListInfoScRsp>(() => new GetFriendRecommendListInfoScRsp());

		// Token: 0x04001FB0 RID: 8112
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001FB1 RID: 8113
		public const int RetcodeFieldNumber = 5;

		// Token: 0x04001FB2 RID: 8114
		private uint retcode_;

		// Token: 0x04001FB3 RID: 8115
		public const int PlayerInfoListFieldNumber = 7;

		// Token: 0x04001FB4 RID: 8116
		private static readonly FieldCodec<FriendRecommendInfo> _repeated_playerInfoList_codec = FieldCodec.ForMessage<FriendRecommendInfo>(58U, FriendRecommendInfo.Parser);

		// Token: 0x04001FB5 RID: 8117
		private readonly RepeatedField<FriendRecommendInfo> playerInfoList_ = new RepeatedField<FriendRecommendInfo>();
	}
}
